<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>相同权重谁生效?</title>
    <style>
        /* 相同的权重，后者生效 */
        .div_calss {
            color: red;
        }

        .div_calss {
            color: blue;
        }

        .div_calss {
            color: purple;
        }

        .div_calss {
            color: green;
        }
    </style>
</head>

<body>
    <div class="div_calss">我是第一个</div>
</body>

</html>